#ifndef PLANE_H_INCLUDED
#define PLANE_H_INCLUDED
#include "Vec3.h"
#include "LineSeg.h"

class Plane
{
public:
	Plane();
	Plane(const Vec3f& V0, const Vec3f& V1, const Vec3f& V2);
	float ReturnDistance(const Vec3f& q) const;
	enum PointType {PT_IN_FRONT, PT_BEHIND, PT_ON_THE_PLANE};
	PointType ClassifyPoint(const Vec3f& q);
	float LineMinPoint(LineSeg& Seg);

private:

 float m_Distance;
 Vec3f m_Normal;

 
};

#endif